package com.nuoniu.sibanyun.entity.work;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author baiqiang
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("oa_submit_record")
@ApiModel(value="WorkReportUser对象", description="")
public class WorkReportUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "机构id")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "报送人id")
    @TableField("submit_id")
    private Integer submitId;

    @ApiModelProperty(value = "报送人姓名")
    @TableField("submit_name")
    private String submitName;

    @ApiModelProperty(value = "抄送人id")
    @TableField("cc_id")
    private String ccId;

    @ApiModelProperty(value = "抄送人姓名")
    @TableField("cc_name")
    private String ccName;

    @ApiModelProperty(value = "截止时间")
    @TableField("deadline")
    private String deadline;

    @ApiModelProperty(value = "超时报送")
    @TableField("is_overtime")
    private Integer isOvertime;

    @ApiModelProperty("类型1:日报 2:周报 3:月报")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("类型1报表2计划3总结")
    @TableField("work_type")
    private Integer workType;

    @ApiModelProperty(value = "截止时间文字")
    @TableField("deadline_text")
    private String deadlineText;
}
